package com.ruoyi.system.service.impl;


import com.ruoyi.system.domain.UserProject;
import com.ruoyi.system.mapper.UserProjectMapper;
import com.ruoyi.system.service.UserProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserProjectServiceImpl implements UserProjectService {

    @Autowired
    UserProjectMapper userProjectMapper;


    @Override
    public void addMember(UserProject userProject) {
        userProjectMapper.addMember(userProject);

    }

    @Override
    public List<UserProject> checkIsIn(UserProject userProject) {
        return userProjectMapper.checkIsIn(userProject);

    }
}
